(global.webpackJsonp = global.webpackJsonp || []).push([ [ "integral/signIndex" ], {
    "4eb2": function(t, e, n) {},
    a422: function(t, e, n) {
        n.r(e);
        var i = n("cd35"), o = n.n(i);
        for (var r in i) "default" !== r && function(t) {
            n.d(e, t, function() {
                return i[t];
            });
        }(r);
        e.default = o.a;
    },
    cd35: function(t, e, n) {
        Object.defineProperty(e, "__esModule", {
            value: !0
        }), e.default = void 0;
        var i = n("7960"), o = n("a71e"), r = n("26cb"), a = n("db8f"), s = n("03c7"), u = n("8434"), c = n("b806"), l = function(t) {
            return t && t.__esModule ? t : {
                default: t
            };
        }(n("801c"));
        function g(t, e) {
            var n = Object.keys(t);
            if (Object.getOwnPropertySymbols) {
                var i = Object.getOwnPropertySymbols(t);
                e && (i = i.filter(function(e) {
                    return Object.getOwnPropertyDescriptor(t, e).enumerable;
                })), n.push.apply(n, i);
            }
            return n;
        }
        function d(t) {
            for (var e = 1; e < arguments.length; e++) {
                var n = null != arguments[e] ? arguments[e] : {};
                e % 2 ? g(Object(n), !0).forEach(function(e) {
                    f(t, e, n[e]);
                }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : g(Object(n)).forEach(function(e) {
                    Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e));
                });
            }
            return t;
        }
        function f(t, e, n) {
            return e in t ? Object.defineProperty(t, e, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0
            }) : t[e] = n, t;
        }
        var p = "", _ = {
            computed: d(d({}, (0, r.mapGetters)([ "mainColor", "iphoneXStyle", "user" ])), {}, {
                bottomColor: function() {
                    var t = {
                        background: this.sign_set.bg_top_color
                    }, e = {
                        "background-image": "linear-gradient(" + this.sign_set.bg_top_color + "," + this.sign_set.bg_bottom_color + ")"
                    };
                    return 1 == this.sign_set.bg_type ? t : e;
                }
            }),
            components: {
                calendar: function() {
                    n.e("integral/components/calendar").then(function() {
                        return resolve(n("743b"));
                    }.bind(null, n)).catch(n.oe);
                }
            },
            data: function() {
                return {
                    imgUrl: "",
                    sign_list: [],
                    puchcardId: "",
                    rest_day: "",
                    week: [ "周一", "周二", "周三", "周四", "周五", "周六", "周日" ],
                    chinaWeek: [],
                    mainColorbg: "",
                    time: "",
                    page: 1,
                    pagesize: 10,
                    loadingOk: !1,
                    isRequest: !1,
                    isShow: !1,
                    continueSign: [],
                    totelSign: [],
                    sign_set: {},
                    today_sign: "",
                    user_sign: "",
                    isBar: "",
                    title: "恭喜您获得签到积分奖励",
                    num: "",
                    numFs: ""
                };
            },
            created: function() {
                this.mainColorbg = (0, a.colorRgba)("#000000", .3), p = this;
            },
            onLoad: function(t) {
                (0, o.isEmpty)(t.pid) || l.default.commit("config/SET_PID", t.pid), (0, o.isEmpty)(decodeURIComponent(t.scene).split("pid=")[1]) || l.default.commit("config/SET_PID", decodeURIComponent(t.scene).split("pid=")[1]);
            },
            onShow: function() {
                var t = this;
                (0, c.init)(this).then(function(e) {
                    t.isBar = e, t.getDeatil();
                });
            },
            onShareAppMessage: function(t) {
                var e = (0, o.isEmpty)(this.user.id) ? 0 : this.user.id;
                return t.from, {
                    title: this.title,
                    path: "/integral/signIndex?pid=" + e
                };
            },
            onShareTimeline: function() {
                var t = (0, o.isEmpty)(this.user.id) ? 0 : this.user.id;
                return {
                    title: this.title,
                    query: "pid=" + t,
                    imageUrl: ""
                };
            },
            methods: {
                signGz: function() {
                    (0, u.route)({
                        url: "/integral/signRule",
                        type: 1,
                        data: {}
                    });
                },
                signJl: function() {
                    (0, u.route)({
                        url: "/integral/signRecord",
                        type: 1,
                        data: {}
                    });
                },
                signsc: function() {
                    (0, u.route)({
                        url: "/integral/index",
                        type: 1,
                        data: {}
                    });
                },
                signph: function() {
                    (0, i.h5JudgeLogin)(2).then(function(t) {
                        t || (0, u.route)({
                            url: "/integral/rank",
                            type: 1,
                            data: {}
                        });
                    });
                },
                getReward: function(t, e) {
                    var n = this;
                    (0, i.h5JudgeLogin)(2).then(function(i) {
                        if (!i) {
                            var o = {
                                integral: t.number,
                                day: t.day,
                                type: e,
                                isLoading: !1
                            };
                            (0, s.signReward)(o).then(function(e) {
                                n.numFs = t.number, n.$refs.model.openModel(), n.getDeatil();
                            });
                        }
                    });
                },
                sign: (0, a.throttles)(function(t, e) {
                    if (p.today_sign) return !1;
                    (0, i.h5JudgeLogin)(2).then(function(t) {
                        if (!t) {
                            (0, s.signIn)({
                                isLoading: !1
                            }).then(function(t) {
                                p.numFs = p.num, p.$refs.model.openModel(), p.getDeatil();
                            });
                        }
                    });
                }, 500),
                getDeatil: function() {
                    var t = this;
                    (0, s.signSet)({
                        isLoading: !1
                    }).then(function(e) {
                        t.sign_set = e.sign_set, t.sign_list = e.sign_list, t.today_sign = e.today_sign, 
                        t.num = e.sign_set.day_integral, t.user_sign = e.user_sign, t.continueSign = e.sign_set.continue, 
                        t.totelSign = e.sign_set.total, t.imgUrl = e.sign_set.sign_logo, t.isShow = !0;
                    });
                }
            }
        };
        e.default = _;
    },
    d1a2: function(t, e, n) {
        n.r(e);
        var i = n("e64e"), o = n("a422");
        for (var r in o) "default" !== r && function(t) {
            n.d(e, t, function() {
                return o[t];
            });
        }(r);
        n("f6e5");
        var a = n("f0c5"), s = Object(a.a)(o.default, i.b, i.c, !1, null, "60c8ae62", null, !1, i.a, void 0);
        e.default = s.exports;
    },
    e64e: function(t, e, n) {
        n.d(e, "b", function() {
            return i;
        }), n.d(e, "c", function() {
            return o;
        }), n.d(e, "a", function() {});
        var i = function() {
            var t = this, e = (t.$createElement, t._self._c, t.isShow ? t.__get_style([ t.bottomColor ]) : null);
            t.$mp.data = Object.assign({}, {
                $root: {
                    s0: e
                }
            });
        }, o = [];
    },
    f62c: function(t, e, n) {
        (function(t) {
            n("1067"), i(n("66fd"));
            var e = i(n("d1a2"));
            function i(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = n, t(e.default);
        }).call(this, n("543d").createPage);
    },
    f6e5: function(t, e, n) {
        var i = n("4eb2");
        n.n(i).a;
    }
}, [ [ "f62c", "common/runtime", "common/vendor" ] ] ]);